import org.apache.log4j.Logger;

public class LoggerTest {
    private static Logger logger = Logger.getLogger(LoggerTest.class);

    public static void main(String[] args) {

        // This request is enabled, because WARN >= INFO.
        logger.warn("Low fuel level.");

        // This request is disabled, because DEBUG < INFO.
        logger.debug("Starting search for nearest gas station.");
    }
}
